{% extends "datasources_base.html" %}

{% block content %}


<div class="row">
	<div class="small-12 columns">

Title or ID:
<h1>{{ setup.title|default:setup.id }}</h1>

<h2>User interface</h2>
	<p>
	Language: {{ setup.language }}
	</p>

<h2>Grammar</h2>
	<p>
	Stemming (dependent on document language): {{ setup.languages }}
	</p>

	<p>
	Forced stemming (independent of document language): {{ setup.languages_force }}
	</p>

	<p>
	Hunspell stemming (dependent on document language): {{ setup.languages_hunspell }}
	</p>

	<p>
	Forced Hunspell stemming (independent of document language): {{ setup.languages_force_hunspell }}
	</p>

<h2>OCR</h2>

<p>OCR of image files: {{ setup.ocr }}</p>

<p>OCR of embedded images (often scanned pages) in PDF: {{ setup.ocr_pdf }}</p>

<p>Descewing: {{ setup.ocr_descew }}</p>


<h3>OCR dictionaries</h3>
	<p>
	OCR languages / dictionaries: {{ setup.ocr_languages }}
	</p>


<h2>Named Entity Recognition</h2>

	<p>
	SpaCy NER: {{ setup.ner_spacy }}
	</p>
	
	<p>
	Stanford NER: {{ setup.ner_stanford }}
	</p>


<h2>Preview (thumbnails)</h2>

	<p>
	Segmentation of PDF documents to single page PDFs for preview: {{ setup.segmentation_pages_preview }}
	</p>


<h2>Segmentation to pages</h2>

	<p>
	Segmentation of PDF documents to single pages for analysis: {{ setup.segmentation_pages }}
	</p>


<h2>Neo4j</h2>
	<p>
	Neo4j: {{ setup.graph_neo4j }}
	</p>

	<p>
	Neo4j host: {{ setup.graph_neo4j_host }}
	</p>

	<p>
	Neo4j user: {{ setup.graph_neo4j_user }}
	</p>


	</div>
</div>


<div class="row">
	<div class="small-12 columns">

<h3>Actions</h3>

<a class="button" href="{% url 'setup:update' setup.id %}">Edit settings</a>


	</div>
</div>

{% endblock content %}
